home *** CD-ROM | disk | FTP | other *** search
- LoadGifAnim.Ifx
- $ver: 1.00, 17 Feb 1999
- by Bryan K. Williams, <icar@evilgeniuses.org>
- © CrystalWorks, Freely Distributable
- <http://www.evilgeniuses.org/>
-
- Send bug reports to <GifBug@evilgeniuses.org>
- Find the latest version at
- <http://www.evilgenius.org/crystalworks/Amiga/>
-
- What is it?
- -----
- This is an ImageFx script that will allow loading of the individual
- frames of an animated gif. With it, you can either bust the anim into
- it's individual frames, or load a single image out of the sequence.
-
- Where do you put it?
- -----
- It can be placed in your ImageFX:rexx drawer for ease of use, or
- anywhere else you might like, as long as you remember where you put it :-)
-
- Quick History:
- -----
- About a year ago (1998), I created an Arexx script that would split a
- gif anim into individual images. It worked well, as long as the gif used
- a full frame for each image. It was less useful with gifs that would only
- save the differences (or delta) from each frame. I finally found time to
- go back to that script, and make a better version using ImageFX to process
- the delta frames. This is the result.
-
- How does it work?
- -----
- No LZW compression code required!
-
- Instead of trying to decode each image and figure out the differences
- in Arexx, this script instead cuts & pastes the important parts of each
- frame to create a complete gif. It then tells ImageFX to load this new
- gif, and if necessary, place it in the correct place on the image.
-
- No, no, how do I load a gif with it?
- -----
- From ImageFX, click the AREXX button, and select this script. Be
- warned that running the script will destroy any current buffer, and
- possibly (depending upon the gif) any swap buffer and brush that you may
- have loaded (it will warn you of this). It will then ask you to select a
- gif. After selecting a gif, it will ask you if you want to BUST this anim
- or not. Busting the anim will separate the gif into individual frames,
- saved in the drawer you select. The frames will be saved as 24-bit
- ILBM's. After the anim is busted, you will be left with the final frame
- in the buffer.
-
- If you select not to bust the anim, you will be given a slider which
- will ask you which frame you wish to load. Select the frame and click ok.
- After the script is done, you will be left with the frame you selected in
- the buffer.
-
- What does it mean, "Do you want to load QUICK?"
- -----
- In certain situations, the anim may be composed of full frames, yet
- have a transparent color. When this happens, the script gives you the
- option to try to load the requested frame directly without going through
- the intermediate frames. In most situations, this works fine. Saying yes
- at this point will cut the load time tremendously. But it may not work.
- By the time the script is done,n you'll be able to instantly see if it
- worked or not, because a failure will look nothing like the original anim.
-
- Long, Boring, History
- -----
-
- 1.0, 17 Feb 1999: Fixed stupid error on anims that had a Local Color Map
- and transparency. This was the only anim situation I was unable to test
- because I couldn't find a gif that did this. The result was corrupt gifs
- that would cause IFX to guru.
- 0.99, 15 Feb 1999: Added support for anims that do not supply a complete
- background in the first frame. I think I've covered most, if not all,
- gif anim possibilities. I know someone will prove me wrong on this :-)
- First Public release.
- 0.15, 14 Feb 1999: Noticed bug in handling of local color tables and
- transparency. Should work now, but I'm unable to find a gif to test it.
- Added some user friendliness :^)
- 0.12, 10 Feb 1999: A partial rewrite in order implement Anim Busting. Also
- to better handle some gifs.
- 0.10, 05 Feb 1999: Now properly handles gifs with a Disposal method of 2 (Restore
- to background color). Not done in the best way, but it works
- 0.9, 01 Feb 1999: Properly handles gifs with a transparent color that's duplicated
- within the normal palette (i.e. has a black color, but also uses a second, equal
- black for the transparent color)
- 0.8, 31 Jan 1999: Added ability to work with some (most?) delta frame gif anims.
- Still needs to check the GCL's Disposal Method for frames to decide what to do
- with them.
- 0.7, 26 Jan 1999: Working with full frame images
-
-